export const ADD_COUNT = 'ADD_COUNT';
export const ADD_COUNT_ASYNC = 'ADD_COUNT_ASYNC';
export const REDUCE_COUNT = 'REDUCE_COUNT';

class CountAction {
    addCount = payload => ({ type: ADD_COUNT, payload });
    addCountAsync = payload => ({ type: ADD_COUNT_ASYNC, payload });
    reduceCount = () => ({ type: REDUCE_COUNT });
}

export default new CountAction();
